package edu.dlnu.newbootdemo.service;

import edu.dlnu.newbootdemo.pojo.Student;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author :JinFeng
 * @description :
 * @create :2023/6/27
 */

public interface IStudentService {
    // 分页、currpage当前页
    List<Student> getStudents(int currPage);
    Student queryStudentByNo(int sno);
    boolean addStudent(Student s);
    boolean updateStudent(Student s);
    boolean delStudent(int sno);
}
